/*
 * Copyright (C) 2019 The Turms Project
 * https://github.com/turms-im/turms
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: model/group/group_join_request.proto

package im.turms.client.model.proto.model.group;

/**
 * Protobuf type {@code im.turms.proto.GroupJoinRequest}
 */
public  final class GroupJoinRequest extends
    com.google.protobuf.GeneratedMessageLite<
        GroupJoinRequest, GroupJoinRequest.Builder> implements
    // @@protoc_insertion_point(message_implements:im.turms.proto.GroupJoinRequest)
    GroupJoinRequestOrBuilder {
  private GroupJoinRequest() {
    content_ = "";
  }
  private int bitField0_;
  public static final int ID_FIELD_NUMBER = 1;
  private long id_;
  /**
   * <code>optional int64 id = 1;</code>
   * @return Whether the id field is set.
   */
  @java.lang.Override
  public boolean hasId() {
    return ((bitField0_ & 0x00000001) != 0);
  }
  /**
   * <code>optional int64 id = 1;</code>
   * @return The id.
   */
  @java.lang.Override
  public long getId() {
    return id_;
  }
  /**
   * <code>optional int64 id = 1;</code>
   * @param value The id to set.
   */
  private void setId(long value) {
    bitField0_ |= 0x00000001;
    id_ = value;
  }
  /**
   * <code>optional int64 id = 1;</code>
   */
  private void clearId() {
    bitField0_ = (bitField0_ & ~0x00000001);
    id_ = 0L;
  }

  public static final int CREATION_DATE_FIELD_NUMBER = 2;
  private long creationDate_;
  /**
   * <code>optional int64 creation_date = 2;</code>
   * @return Whether the creationDate field is set.
   */
  @java.lang.Override
  public boolean hasCreationDate() {
    return ((bitField0_ & 0x00000002) != 0);
  }
  /**
   * <code>optional int64 creation_date = 2;</code>
   * @return The creationDate.
   */
  @java.lang.Override
  public long getCreationDate() {
    return creationDate_;
  }
  /**
   * <code>optional int64 creation_date = 2;</code>
   * @param value The creationDate to set.
   */
  private void setCreationDate(long value) {
    bitField0_ |= 0x00000002;
    creationDate_ = value;
  }
  /**
   * <code>optional int64 creation_date = 2;</code>
   */
  private void clearCreationDate() {
    bitField0_ = (bitField0_ & ~0x00000002);
    creationDate_ = 0L;
  }

  public static final int CONTENT_FIELD_NUMBER = 3;
  private java.lang.String content_;
  /**
   * <code>optional string content = 3;</code>
   * @return Whether the content field is set.
   */
  @java.lang.Override
  public boolean hasContent() {
    return ((bitField0_ & 0x00000004) != 0);
  }
  /**
   * <code>optional string content = 3;</code>
   * @return The content.
   */
  @java.lang.Override
  public java.lang.String getContent() {
    return content_;
  }
  /**
   * <code>optional string content = 3;</code>
   * @return The bytes for content.
   */
  @java.lang.Override
  public com.google.protobuf.ByteString
      getContentBytes() {
    return com.google.protobuf.ByteString.copyFromUtf8(content_);
  }
  /**
   * <code>optional string content = 3;</code>
   * @param value The content to set.
   */
  private void setContent(
      java.lang.String value) {
    java.lang.Class<?> valueClass = value.getClass();
  bitField0_ |= 0x00000004;
    content_ = value;
  }
  /**
   * <code>optional string content = 3;</code>
   */
  private void clearContent() {
    bitField0_ = (bitField0_ & ~0x00000004);
    content_ = getDefaultInstance().getContent();
  }
  /**
   * <code>optional string content = 3;</code>
   * @param value The bytes for content to set.
   */
  private void setContentBytes(
      com.google.protobuf.ByteString value) {
    checkByteStringIsUtf8(value);
    content_ = value.toStringUtf8();
    bitField0_ |= 0x00000004;
  }

  public static final int STATUS_FIELD_NUMBER = 4;
  private int status_;
  /**
   * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
   * @return Whether the status field is set.
   */
  @java.lang.Override
  public boolean hasStatus() {
    return ((bitField0_ & 0x00000008) != 0);
  }
  /**
   * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
   * @return The enum numeric value on the wire for status.
   */
  @java.lang.Override
  public int getStatusValue() {
    return status_;
  }
  /**
   * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
   * @return The status.
   */
  @java.lang.Override
  public im.turms.client.model.proto.constant.RequestStatus getStatus() {
    im.turms.client.model.proto.constant.RequestStatus result = im.turms.client.model.proto.constant.RequestStatus.forNumber(status_);
    return result == null ? im.turms.client.model.proto.constant.RequestStatus.UNRECOGNIZED : result;
  }
  /**
   * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
   * @param value The enum numeric value on the wire for status to set.
   */
  private void setStatusValue(int value) {
    bitField0_ |= 0x00000008;  status_ = value;
  }
  /**
   * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
   * @param value The status to set.
   */
  private void setStatus(im.turms.client.model.proto.constant.RequestStatus value) {
    status_ = value.getNumber();
    bitField0_ |= 0x00000008;
  }
  /**
   * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
   */
  private void clearStatus() {
    bitField0_ = (bitField0_ & ~0x00000008);
    status_ = 0;
  }

  public static final int EXPIRATION_DATE_FIELD_NUMBER = 5;
  private long expirationDate_;
  /**
   * <code>optional int64 expiration_date = 5;</code>
   * @return Whether the expirationDate field is set.
   */
  @java.lang.Override
  public boolean hasExpirationDate() {
    return ((bitField0_ & 0x00000010) != 0);
  }
  /**
   * <code>optional int64 expiration_date = 5;</code>
   * @return The expirationDate.
   */
  @java.lang.Override
  public long getExpirationDate() {
    return expirationDate_;
  }
  /**
   * <code>optional int64 expiration_date = 5;</code>
   * @param value The expirationDate to set.
   */
  private void setExpirationDate(long value) {
    bitField0_ |= 0x00000010;
    expirationDate_ = value;
  }
  /**
   * <code>optional int64 expiration_date = 5;</code>
   */
  private void clearExpirationDate() {
    bitField0_ = (bitField0_ & ~0x00000010);
    expirationDate_ = 0L;
  }

  public static final int GROUP_ID_FIELD_NUMBER = 6;
  private long groupId_;
  /**
   * <code>optional int64 group_id = 6;</code>
   * @return Whether the groupId field is set.
   */
  @java.lang.Override
  public boolean hasGroupId() {
    return ((bitField0_ & 0x00000020) != 0);
  }
  /**
   * <code>optional int64 group_id = 6;</code>
   * @return The groupId.
   */
  @java.lang.Override
  public long getGroupId() {
    return groupId_;
  }
  /**
   * <code>optional int64 group_id = 6;</code>
   * @param value The groupId to set.
   */
  private void setGroupId(long value) {
    bitField0_ |= 0x00000020;
    groupId_ = value;
  }
  /**
   * <code>optional int64 group_id = 6;</code>
   */
  private void clearGroupId() {
    bitField0_ = (bitField0_ & ~0x00000020);
    groupId_ = 0L;
  }

  public static final int REQUESTER_ID_FIELD_NUMBER = 7;
  private long requesterId_;
  /**
   * <code>optional int64 requester_id = 7;</code>
   * @return Whether the requesterId field is set.
   */
  @java.lang.Override
  public boolean hasRequesterId() {
    return ((bitField0_ & 0x00000040) != 0);
  }
  /**
   * <code>optional int64 requester_id = 7;</code>
   * @return The requesterId.
   */
  @java.lang.Override
  public long getRequesterId() {
    return requesterId_;
  }
  /**
   * <code>optional int64 requester_id = 7;</code>
   * @param value The requesterId to set.
   */
  private void setRequesterId(long value) {
    bitField0_ |= 0x00000040;
    requesterId_ = value;
  }
  /**
   * <code>optional int64 requester_id = 7;</code>
   */
  private void clearRequesterId() {
    bitField0_ = (bitField0_ & ~0x00000040);
    requesterId_ = 0L;
  }

  public static final int RESPONDER_ID_FIELD_NUMBER = 8;
  private long responderId_;
  /**
   * <code>optional int64 responder_id = 8;</code>
   * @return Whether the responderId field is set.
   */
  @java.lang.Override
  public boolean hasResponderId() {
    return ((bitField0_ & 0x00000080) != 0);
  }
  /**
   * <code>optional int64 responder_id = 8;</code>
   * @return The responderId.
   */
  @java.lang.Override
  public long getResponderId() {
    return responderId_;
  }
  /**
   * <code>optional int64 responder_id = 8;</code>
   * @param value The responderId to set.
   */
  private void setResponderId(long value) {
    bitField0_ |= 0x00000080;
    responderId_ = value;
  }
  /**
   * <code>optional int64 responder_id = 8;</code>
   */
  private void clearResponderId() {
    bitField0_ = (bitField0_ & ~0x00000080);
    responderId_ = 0L;
  }

  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      java.nio.ByteBuffer data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      java.nio.ByteBuffer data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      com.google.protobuf.ByteString data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      com.google.protobuf.ByteString data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(byte[] data)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      byte[] data,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws com.google.protobuf.InvalidProtocolBufferException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, data, extensionRegistry);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(java.io.InputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseDelimitedFrom(java.io.InputStream input)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseDelimitedFrom(
      java.io.InputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      com.google.protobuf.CodedInputStream input)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input);
  }
  public static im.turms.client.model.proto.model.group.GroupJoinRequest parseFrom(
      com.google.protobuf.CodedInputStream input,
      com.google.protobuf.ExtensionRegistryLite extensionRegistry)
      throws java.io.IOException {
    return com.google.protobuf.GeneratedMessageLite.parseFrom(
        DEFAULT_INSTANCE, input, extensionRegistry);
  }

  public static Builder newBuilder() {
    return (Builder) DEFAULT_INSTANCE.createBuilder();
  }
  public static Builder newBuilder(im.turms.client.model.proto.model.group.GroupJoinRequest prototype) {
    return (Builder) DEFAULT_INSTANCE.createBuilder(prototype);
  }

  /**
   * Protobuf type {@code im.turms.proto.GroupJoinRequest}
   */
  public static final class Builder extends
      com.google.protobuf.GeneratedMessageLite.Builder<
        im.turms.client.model.proto.model.group.GroupJoinRequest, Builder> implements
      // @@protoc_insertion_point(builder_implements:im.turms.proto.GroupJoinRequest)
      im.turms.client.model.proto.model.group.GroupJoinRequestOrBuilder {
    // Construct using im.turms.client.model.proto.model.group.GroupJoinRequest.newBuilder()
    private Builder() {
      super(DEFAULT_INSTANCE);
    }


    /**
     * <code>optional int64 id = 1;</code>
     * @return Whether the id field is set.
     */
    @java.lang.Override
    public boolean hasId() {
      return instance.hasId();
    }
    /**
     * <code>optional int64 id = 1;</code>
     * @return The id.
     */
    @java.lang.Override
    public long getId() {
      return instance.getId();
    }
    /**
     * <code>optional int64 id = 1;</code>
     * @param value The id to set.
     * @return This builder for chaining.
     */
    public Builder setId(long value) {
      copyOnWrite();
      instance.setId(value);
      return this;
    }
    /**
     * <code>optional int64 id = 1;</code>
     * @return This builder for chaining.
     */
    public Builder clearId() {
      copyOnWrite();
      instance.clearId();
      return this;
    }

    /**
     * <code>optional int64 creation_date = 2;</code>
     * @return Whether the creationDate field is set.
     */
    @java.lang.Override
    public boolean hasCreationDate() {
      return instance.hasCreationDate();
    }
    /**
     * <code>optional int64 creation_date = 2;</code>
     * @return The creationDate.
     */
    @java.lang.Override
    public long getCreationDate() {
      return instance.getCreationDate();
    }
    /**
     * <code>optional int64 creation_date = 2;</code>
     * @param value The creationDate to set.
     * @return This builder for chaining.
     */
    public Builder setCreationDate(long value) {
      copyOnWrite();
      instance.setCreationDate(value);
      return this;
    }
    /**
     * <code>optional int64 creation_date = 2;</code>
     * @return This builder for chaining.
     */
    public Builder clearCreationDate() {
      copyOnWrite();
      instance.clearCreationDate();
      return this;
    }

    /**
     * <code>optional string content = 3;</code>
     * @return Whether the content field is set.
     */
    @java.lang.Override
    public boolean hasContent() {
      return instance.hasContent();
    }
    /**
     * <code>optional string content = 3;</code>
     * @return The content.
     */
    @java.lang.Override
    public java.lang.String getContent() {
      return instance.getContent();
    }
    /**
     * <code>optional string content = 3;</code>
     * @return The bytes for content.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getContentBytes() {
      return instance.getContentBytes();
    }
    /**
     * <code>optional string content = 3;</code>
     * @param value The content to set.
     * @return This builder for chaining.
     */
    public Builder setContent(
        java.lang.String value) {
      copyOnWrite();
      instance.setContent(value);
      return this;
    }
    /**
     * <code>optional string content = 3;</code>
     * @return This builder for chaining.
     */
    public Builder clearContent() {
      copyOnWrite();
      instance.clearContent();
      return this;
    }
    /**
     * <code>optional string content = 3;</code>
     * @param value The bytes for content to set.
     * @return This builder for chaining.
     */
    public Builder setContentBytes(
        com.google.protobuf.ByteString value) {
      copyOnWrite();
      instance.setContentBytes(value);
      return this;
    }

    /**
     * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
     * @return Whether the status field is set.
     */
    @java.lang.Override
    public boolean hasStatus() {
      return instance.hasStatus();
    }
    /**
     * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
     * @return The enum numeric value on the wire for status.
     */
    @java.lang.Override
    public int getStatusValue() {
      return instance.getStatusValue();
    }
    /**
     * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
     * @param value The status to set.
     * @return This builder for chaining.
     */
    public Builder setStatusValue(int value) {
      copyOnWrite();
      instance.setStatusValue(value);
      return this;
    }
    /**
     * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
     * @return The status.
     */
    @java.lang.Override
    public im.turms.client.model.proto.constant.RequestStatus getStatus() {
      return instance.getStatus();
    }
    /**
     * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
     * @param value The enum numeric value on the wire for status to set.
     * @return This builder for chaining.
     */
    public Builder setStatus(im.turms.client.model.proto.constant.RequestStatus value) {
      copyOnWrite();
      instance.setStatus(value);
      return this;
    }
    /**
     * <code>optional .im.turms.proto.RequestStatus status = 4;</code>
     * @return This builder for chaining.
     */
    public Builder clearStatus() {
      copyOnWrite();
      instance.clearStatus();
      return this;
    }

    /**
     * <code>optional int64 expiration_date = 5;</code>
     * @return Whether the expirationDate field is set.
     */
    @java.lang.Override
    public boolean hasExpirationDate() {
      return instance.hasExpirationDate();
    }
    /**
     * <code>optional int64 expiration_date = 5;</code>
     * @return The expirationDate.
     */
    @java.lang.Override
    public long getExpirationDate() {
      return instance.getExpirationDate();
    }
    /**
     * <code>optional int64 expiration_date = 5;</code>
     * @param value The expirationDate to set.
     * @return This builder for chaining.
     */
    public Builder setExpirationDate(long value) {
      copyOnWrite();
      instance.setExpirationDate(value);
      return this;
    }
    /**
     * <code>optional int64 expiration_date = 5;</code>
     * @return This builder for chaining.
     */
    public Builder clearExpirationDate() {
      copyOnWrite();
      instance.clearExpirationDate();
      return this;
    }

    /**
     * <code>optional int64 group_id = 6;</code>
     * @return Whether the groupId field is set.
     */
    @java.lang.Override
    public boolean hasGroupId() {
      return instance.hasGroupId();
    }
    /**
     * <code>optional int64 group_id = 6;</code>
     * @return The groupId.
     */
    @java.lang.Override
    public long getGroupId() {
      return instance.getGroupId();
    }
    /**
     * <code>optional int64 group_id = 6;</code>
     * @param value The groupId to set.
     * @return This builder for chaining.
     */
    public Builder setGroupId(long value) {
      copyOnWrite();
      instance.setGroupId(value);
      return this;
    }
    /**
     * <code>optional int64 group_id = 6;</code>
     * @return This builder for chaining.
     */
    public Builder clearGroupId() {
      copyOnWrite();
      instance.clearGroupId();
      return this;
    }

    /**
     * <code>optional int64 requester_id = 7;</code>
     * @return Whether the requesterId field is set.
     */
    @java.lang.Override
    public boolean hasRequesterId() {
      return instance.hasRequesterId();
    }
    /**
     * <code>optional int64 requester_id = 7;</code>
     * @return The requesterId.
     */
    @java.lang.Override
    public long getRequesterId() {
      return instance.getRequesterId();
    }
    /**
     * <code>optional int64 requester_id = 7;</code>
     * @param value The requesterId to set.
     * @return This builder for chaining.
     */
    public Builder setRequesterId(long value) {
      copyOnWrite();
      instance.setRequesterId(value);
      return this;
    }
    /**
     * <code>optional int64 requester_id = 7;</code>
     * @return This builder for chaining.
     */
    public Builder clearRequesterId() {
      copyOnWrite();
      instance.clearRequesterId();
      return this;
    }

    /**
     * <code>optional int64 responder_id = 8;</code>
     * @return Whether the responderId field is set.
     */
    @java.lang.Override
    public boolean hasResponderId() {
      return instance.hasResponderId();
    }
    /**
     * <code>optional int64 responder_id = 8;</code>
     * @return The responderId.
     */
    @java.lang.Override
    public long getResponderId() {
      return instance.getResponderId();
    }
    /**
     * <code>optional int64 responder_id = 8;</code>
     * @param value The responderId to set.
     * @return This builder for chaining.
     */
    public Builder setResponderId(long value) {
      copyOnWrite();
      instance.setResponderId(value);
      return this;
    }
    /**
     * <code>optional int64 responder_id = 8;</code>
     * @return This builder for chaining.
     */
    public Builder clearResponderId() {
      copyOnWrite();
      instance.clearResponderId();
      return this;
    }

    // @@protoc_insertion_point(builder_scope:im.turms.proto.GroupJoinRequest)
  }
  @java.lang.Override
  @java.lang.SuppressWarnings({"unchecked", "fallthrough"})
  protected final java.lang.Object dynamicMethod(
      com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
      java.lang.Object arg0, java.lang.Object arg1) {
    switch (method) {
      case NEW_MUTABLE_INSTANCE: {
        return new im.turms.client.model.proto.model.group.GroupJoinRequest();
      }
      case NEW_BUILDER: {
        return new Builder();
      }
      case BUILD_MESSAGE_INFO: {
          java.lang.Object[] objects = new java.lang.Object[] {
            "bitField0_",
            "id_",
            "creationDate_",
            "content_",
            "status_",
            "expirationDate_",
            "groupId_",
            "requesterId_",
            "responderId_",
          };
          java.lang.String info =
              "\u0000\b\u0000\u0001\u0001\b\b\u0000\u0000\u0000\u0001\u1002\u0000\u0002\u1002\u0001" +
              "\u0003\u1208\u0002\u0004\u100c\u0003\u0005\u1002\u0004\u0006\u1002\u0005\u0007\u1002" +
              "\u0006\b\u1002\u0007";
          return newMessageInfo(DEFAULT_INSTANCE, info, objects);
      }
      // fall through
      case GET_DEFAULT_INSTANCE: {
        return DEFAULT_INSTANCE;
      }
      case GET_PARSER: {
        com.google.protobuf.Parser<im.turms.client.model.proto.model.group.GroupJoinRequest> parser = PARSER;
        if (parser == null) {
          synchronized (im.turms.client.model.proto.model.group.GroupJoinRequest.class) {
            parser = PARSER;
            if (parser == null) {
              parser =
                  new DefaultInstanceBasedParser<im.turms.client.model.proto.model.group.GroupJoinRequest>(
                      DEFAULT_INSTANCE);
              PARSER = parser;
            }
          }
        }
        return parser;
    }
    case GET_MEMOIZED_IS_INITIALIZED: {
      return (byte) 1;
    }
    case SET_MEMOIZED_IS_INITIALIZED: {
      return null;
    }
    }
    throw new UnsupportedOperationException();
  }


  // @@protoc_insertion_point(class_scope:im.turms.proto.GroupJoinRequest)
  private static final im.turms.client.model.proto.model.group.GroupJoinRequest DEFAULT_INSTANCE;
  static {
    GroupJoinRequest defaultInstance = new GroupJoinRequest();
    // New instances are implicitly immutable so no need to make
    // immutable.
    DEFAULT_INSTANCE = defaultInstance;
    com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
      GroupJoinRequest.class, defaultInstance);
  }

  public static im.turms.client.model.proto.model.group.GroupJoinRequest getDefaultInstance() {
    return DEFAULT_INSTANCE;
  }

  private static volatile com.google.protobuf.Parser<GroupJoinRequest> PARSER;

  public static com.google.protobuf.Parser<GroupJoinRequest> parser() {
    return DEFAULT_INSTANCE.getParserForType();
  }
}

